package com.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class FirstController {
    @RequestMapping("/firstController")
    public String firstController() {
        System.out.println("firstController");
        return "success";//自动解析到web-info下pages下success.jsp文件
    }
}
